package com.farm.area.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @Description  
 * @Author  meitonglin
 * @Date 2020-10-16 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table ( name ="t_cust_farmland_device" )
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class TCustFarmlandDevice  implements Serializable {

	private static final long serialVersionUID =  2643044776880225506L;

   	@Column(name = "id" )
	private Integer id;

	/**
	 * 大田ID
	 */
   	@Column(name = "farmland_id" )
	private Integer farmlandId;

	/**
	 * 用户的设备ID
	 */
   	@Column(name = "cdid" )
	private Integer cdid;

	/**
	 * 运行状态
	 */
   	@Column(name = "status" )
	private String status;

	/**
	 * 安装位置
	 */
   	@Column(name = "position" )
	private String position;

}
